package com.rex.saas.enums;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * ErrorCodeEnum
 *
 * @author zhusiyu
 **/
@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum ConditionTypeEnum {

    /**
     Timer：时间点触发
     TimerDelay：倒计时触发或延时触发
     Property：设备属性触发
     Event:设备事件触发
     TimeRange:设备事件触发
     */
    Timer("Timer", "时间点触发"),
    TimerDelay("TimerDelay", "倒计时触发或延时触发"),
    Property("Property", "设备属性触发"),
    Event("Event", "设备事件触发"),
    TimeRange("TimeRange", "时间范围触发"),
    ;
    /**
     *
     */
    private String code;
    /**
     * 信息
     */
    private String message;
}
